package com.neu.dao;

import com.neu.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    int addUser(User user);
    int delUser(String userName);
    List<User> getUserByPage(@Param("index") int index, @Param("count") int count);
    int updateUser(User user);
    int getUserCount();
}
